package com.tbit.main.pojo;

/**
 * @author LMY
 * @create 2021-01-20 13:30
 * 客户端返回数据
 */
public class ClientDate<T> {

    private Integer ret;    //状态
    private T date;     //数据
    private Integer code;   //状态码
    private String msg;     //消息

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getRet() {
        return ret;
    }

    public void setRet(Integer ret) {
        this.ret = ret;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "ClientDate{" +
                "ret=" + ret +
                ", date=" + date +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
